﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace University.Workshop.Presenters.OtbData.Read
{
    public class PresenterReadFirstStep
    {
        IFirstStepForRead view;

        public PresenterReadFirstStep(IFirstStepForRead view)
        {
            this.view = view;
        }

        public void UpdateViewData()
        {
            view.Name = view.OtbDataToRead.Name;
            view.Managment = view.OtbDataToRead.Managment;
            view.Background = view.OtbDataToRead.Background;
            view.ExpirationDay = view.OtbDataToRead.ExpirationDay;
        }
    }
}
